package tech.waterism.model.dto;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * DHF模型初始状态
 * 
 * <p>初始状态变量用于模型的冷启动或热启动</p>
 * 
 * @author 高宇
 * @since 2025-11-13
 */
public class DHFInitialState {
    
    /** 初始表层蓄水量 (mm) */
    @JsonProperty("SA0")
    private Double SA0;
    
    /** 初始下层蓄水量 (mm) */
    @JsonProperty("UA0")
    private Double UA0;
    
    /** 初始前期影响雨量 (mm) */
    @JsonProperty("YA0")
    private Double YA0;

    public DHFInitialState() {
    }

    public DHFInitialState(Double SA0, Double UA0, Double YA0) {
        this.SA0 = SA0;
        this.UA0 = UA0;
        this.YA0 = YA0;
    }

    public Double getSA0() {
        return SA0;
    }

    public void setSA0(Double SA0) {
        this.SA0 = SA0;
    }

    public Double getUA0() {
        return UA0;
    }

    public void setUA0(Double UA0) {
        this.UA0 = UA0;
    }

    public Double getYA0() {
        return YA0;
    }

    public void setYA0(Double YA0) {
        this.YA0 = YA0;
    }

    @Override
    public String toString() {
        return "DHFInitialState{" +
                "SA0=" + SA0 +
                ", UA0=" + UA0 +
                ", YA0=" + YA0 +
                '}';
    }
}

